<!--
 * @Description: 
 * @Author: huxianc
 * @Date: 2020-11-05 13:47:44
 * @LastEditors: huxianc
 * @LastEditTime: 2020-11-16 10:24:01
-->
<template>
  <div id="app">
    <router-view :key="key"></router-view>
  </div>
</template>

<script>
export default {
  name: "App",
  computed: {
    key() {
      return this.$route.fullPath;
    }
  }
};
</script>

<style lang="scss">
html,
body {
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
</style>
